package com.translate.web.service;
import com.basic.service.contract.IBaseService;

import java.util.List;

import com.translate.entity.ProductImg;
import com.translate.web.param.contract.IProductImgAddParam;
import com.param.contract.IIdParam;

/**
 * 商品图片服务
 * @author 111
 *
 */
public interface IProductImgService extends IBaseService<ProductImg> { 

	/**
	 * 处理批量添加
	 * @param <S>
	 * @param accessLabelParams
	 * @param assocId 关联id
	 * @return
	 */
	<S extends IProductImgAddParam> int parseBatchInsert(List<S> accessLabelParams, int assocId);
	
	/**
	 * 获取商品图片
	 * @param param
	 * @return
	 */
	List<ProductImg> getProductImgs(IIdParam param);
	
}
